package com.homson.servicedomain.domain.agent;

import org.springframework.stereotype.Component;
import org.springframework.util.StringUtils;

import java.util.Objects;

@Component
public class AgentModelCommand extends BaseCommand{
    
    public String simpleChat(String input){
        if(!StringUtils.hasText(input)){
            return "";
        }
        String answer = qwenModel.chat(input);
      //  String answer = openAiModel.chat(input);
        if(!StringUtils.hasText(answer)){
            return "";
        }
        return answer;
    }
    
    
    
    
    
}
